﻿
namespace SistemaLogistica.Business.Logic
{
    using System;
    using System.Collections.Generic;
    using SistemaLogistica.Business.Entities;
    using SistemaLogistica.DataAccess;

    public class MenusManager
    {
        private MenusManager() { }

        private static readonly MenusManager instancia = new MenusManager();

        public static MenusManager Instancia
        {
            get { return instancia; }
        }

        public List<Menus> ListarPorContenedor(byte? contenedorID)
        {
            try
            {
                return MenusData.Instancia.ListarPorContenedor(contenedorID);
            }
            catch (Exception ex)
            {
                throw new Exception(ex.Message);
            }
        }
    }
}
